CXX=mpic++
CXXFLAGS=-Wall -pedantic -fopenmp

all: matrix randmatrix

matrix: matrix.cpp
	$(CXX) $(CXXFLAGS) $^ -o $@

randmatrix: randmatrix.cpp
	$(CXX) $(CXXFLAGS) $^ -o $@

clean:
	rm -rf matrix randmatrix
